/*
 * Copyright (C) 2009 Rob Cash
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * WizardModelChangeListener.java
 * 
 * Created on Jan 1, 2009 at 11:08:58 PM
 */

package org.robcash.commons.swing.wizard.event;

import java.util.EventListener;

/**
 * Methods for receiving notification of changes to the wizard model
 * @author Rob
 */
public interface WizardModelChangeListener extends EventListener {

    /**
     * Indicates that a wizard panel was added to the model
     * @param event Model event
     */
    public void wizardPanelAdded(WizardModelEvent event);

    /**
     * Indicates that a wizard panel was remove from the model
     * @param event Model event
     */
    public void wizardPanelRemoved(WizardModelEvent event);

    /**
     * Receive notification that the wizard model is about to change
     * @param event Model event
     */
    public void modelIsChanging(WizardModelEvent event);

    /**
     * Receive notification that the wizard model has changed
     * @param event Model event
     */
    public void modelChanged(WizardModelEvent event);

}
